package com.twu.biblioteca;

import java.io.PrintStream;

public class CheckOuter implements LibraryAction {

    private String ACTION_NAME = "2 - Checkout A Book";
    private PrintStream printStream;

    public CheckOuter(PrintStream printStream){
        this.printStream = printStream;
    }

    @Override
    public void performAction() {
        promptUserForBookSelection();
    }

    @Override
    public String toString() {
        return ACTION_NAME;
    }

    private void promptUserForBookSelection() {
        printStream.println("What book would you like to check out?");
    }
}
